<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="Access-Control-Allow-Origin" content="*">
    <title>Document</title>
    <script src="../axios/node_modules/axios/dist/axios.js"></script>
    <script src="../vue.js"></script>

</head>
<body>
<div id="app">{{info.name}}</div>    

<script>
    
    var app = new Vue({
        el: "#app",
        data (){
            return {
                info: {
                    name: null
                }
            }
        },
        mounted(){
            axios.get("data.json").then(response=>(console.log(response.data)
            ))
        }
    })
</script>

</body>
</html>